package com.ruoyi.web.area.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.area.mapper.HrCt007Mapper;
import com.ruoyi.web.area.domain.HrCt007;
import com.ruoyi.web.area.service.IHrCt007Service;

/**
 * areaService业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-26
 */
@Service
public class HrCt007ServiceImpl implements IHrCt007Service 
{
    @Autowired
    private HrCt007Mapper hrCt007Mapper;

    /**
     * 查询area
     * 
     * @param ccodeID area主键
     * @return area
     */
    @Override
    public HrCt007 selectHrCt007ByCcodeID(String ccodeID)
    {
        return hrCt007Mapper.selectHrCt007ByCcodeID(ccodeID);
    }

    /**
     * 查询area列表
     * 
     * @param hrCt007 area
     * @return area
     */
    @Override
    public List<HrCt007> selectHrCt007List(HrCt007 hrCt007)
    {
        return hrCt007Mapper.selectHrCt007List(hrCt007);
    }

    /**
     * 新增area
     * 
     * @param hrCt007 area
     * @return 结果
     */
    @Override
    public int insertHrCt007(HrCt007 hrCt007)
    {
        return hrCt007Mapper.insertHrCt007(hrCt007);
    }

    /**
     * 修改area
     * 
     * @param hrCt007 area
     * @return 结果
     */
    @Override
    public int updateHrCt007(HrCt007 hrCt007)
    {
        return hrCt007Mapper.updateHrCt007(hrCt007);
    }

    /**
     * 批量删除area
     * 
     * @param ccodeIDs 需要删除的area主键
     * @return 结果
     */
    @Override
    public int deleteHrCt007ByCcodeIDs(String[] ccodeIDs)
    {
        return hrCt007Mapper.deleteHrCt007ByCcodeIDs(ccodeIDs);
    }

    /**
     * 删除area信息
     * 
     * @param ccodeID area主键
     * @return 结果
     */
    @Override
    public int deleteHrCt007ByCcodeID(String ccodeID)
    {
        return hrCt007Mapper.deleteHrCt007ByCcodeID(ccodeID);
    }
}
